﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameLogic
{
    /// <summary>
    /// 暂时不用这种方案。在这里给织各种资源的路径，直接从Resources目录加载。
    /// </summary>
    public class ResourcePath
    {
        /// <summary>
        /// 得到策划配置资源路径
        /// </summary>
        /// <returns></returns>
        public static string GetConfigPath()
        {
            return "Configs/";
        }

        /// <summary>
        /// 得到技能攻攻效果路径
        /// </summary>
        /// <returns></returns>
        public static string GetHitEffectPath(int id)
        {
            return "Prefabs/Effects/HitEffect/" + id.ToString();
        }

        public static string GetSeriesEffectPath(int id)
        {
            return "Prefabs/Effects/SeriesEffect/" + id.ToString();
        }

        public static string GetTrajectoryEffectPath(int id)
        {
            return "Prefabs/Effects/TrajectoryEffect/" + id.ToString();
        }

        /// <summary>
        /// 得到受击效果路径
        /// </summary>
        /// <returns></returns>
        public static string GetUseEffectPath(int id)
        {
            return "Prefabs/Effects/UseEffect/" + id.ToString();
        }

        /// <summary>
        /// 得到武器动画路径
        /// </summary>
        /// <returns></returns>
        public static string GetWeaponPath(int id)
        {
            return "Prefabs/Equips/Weapon/" + id.ToString();
        }

        /// <summary>
        /// 得到衣服动画路径
        /// </summary>
        /// <returns></returns>
        public static string GetYiFuPath(int id)
        {
            return "Prefabs/Equips/YiFu/" + id.ToString();
        }


        /// <summary>
        /// 得到场景主玩家对象Prefab对像路径
        /// </summary>
        /// <returns></returns>
        public static string GetMainPlayerObjPath()
        {
            return "Prefabs/Character/Role_MainPlayer_Obj";
        }

        /// <summary>
        /// 得到场景怪对象Prefab对像路径
        /// </summary>
        /// <returns></returns>
        public static string GetMonsterObjPath()
        {
            return "Prefabs/Character/Role_Monster_Obj";
        }

        /// <summary>
        /// 得到场景npc对象Prefab对像路径。
        /// </summary>
        /// <returns></returns>
        public static string GetNPCObjPath()
        {
            return "Prefabs/Character/Role_NPC_Obj";
        }

        /// <summary>
        /// 得到场景玩家对象Prefab对像路径
        /// </summary>
        /// <returns></returns>
        public static string GetPlayerObjPath()
        {
            return "Prefabs/Character/Role_Player_Obj";
        }



        /// <summary>
        /// 得到怪物动画路径
        /// </summary>
        /// <returns></returns>
        public static string GetMonsterPath(int id)
        {
            return "Prefabs/Monsters/" + id.ToString();
        }

        /// <summary>
        /// 得到NPC动画路径
        /// </summary>
        /// <returns></returns>
        public static string GetNPCPath(int id)
        {
            return "Prefabs/NPCS/" + id.ToString();
        }



        public static string GetMapBoxObjPath()
        {
            return "Prefabs/Global/FloorBox";
        }

        public static string GetMainCameraObjPath()
        {
            return "Prefabs/Global/MainCamera";
        }

        public static string GetUIRootObjPath()
        {
            return "Prefabs/Global/UIRoot";
        }

        public static string GetMonsterBarObjPath()
        {
            return "Prefabs/HUD/MonsterBloodBar";
        }

        public static string GetPlayerBloodObjPath()
        {
            return "Prefabs/HUD/PlayerBlood";
        }

        public static string GetMonsterDamageObjPath()
        {
            return "Prefabs/HUD/MonsterDamage";
        }

        public static string GetPlayerDamagObjPath()
        {
            return "Prefabs/HUD/PlayerDamage";
        }

        public static string GetHealingObjPath()
        {
            return "Prefabs/HUD/Healing";
        }







        public static string GetMapTileObjPath()
        {
            return "Prefabs/Map/Map_Tile_Obj";
        }


        public static string GetMapPath(int id)
        {
            return "Map/" + id.ToString();
        }

        public static string GetMapTilePath(int id)
        {
            return "Map" + id.ToString() + "tiles";
        }

        public static string GetMaterialPath(string name)
        {
            return "Materials/" + name;
        }

        public static string GetShaderPath(string name)
        {
            return "Shader/" + name;
        }


        public static string GetUIAtlasPath(string name)
        {
            return "UIAtlas/" + name;
        }

        public static string GetSoundPath(string name)
        {
            return "Audio/" + name;
        }

        public static string GetBGSoundPath(string name)
        {
            return "Audio/BGM/" + name;
        }

        /// <summary>
        /// 得到登录模块的UI prefab
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public static string GetLoginUIPath(string name)
        {
            return "Prefabs/UI/Login/" + name;
        }

        /// <summary>
        /// 得到主面板UI prefab
        /// </summary>
        /// <returns></returns>
        public static string GetMainUIPath()
        {
            return "Prefabs/UI/Main/MainPanel";
        }

        public static string GetLoadingUIPath()
        {
            return "Prefabs/UI/Loading/LoadingPanel";
        }




  
    }
}
